package com.csyf.manager.channel.base;

import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;

/**
 * Created by ENZO on 2018/3/25 0025.
 */
//@EqualsAndHashCode(callSuper = true)
//@Data
public class TrandeVo extends BaseTradeRequestVo implements Serializable {

    private static final long serialVersionUID = -5920516069439592001L;

    @NotEmpty(message = "回调不能为空")
    private String notify_url;
    @NotEmpty(message = "商品名称不能为空")
    private String body;


    /**
     * 京东的支付成功，失败，取消的跳转地址
     */
    @NotEmpty(message = "支付后跳转地址[return_url]不能为空")
    private String return_url;


    private String in_cust_id;
    private String in_acct_id;

    /**
     * 商银信 需要传入bankno
     */
    private String bankno;

    /**
     * 卡号
     */
    private String cardNo;

    /**
     * 盈盈通 需要传入银行卡联行号
     */
    private String bank_linked;

    /**
     * 平安 H5传Ip地址
     */
    private String realIp;

    /**
     * 威富通 应用类型
     * 如果是用于苹果app应用里值为iOS_SDK；
     * 如果是用于安卓app应用里值为AND_SDK；
     * 如果是用于手机网站，值为iOS_WAP或AND_WAP均可
     */
    private String deviceInfo;

    public String getDeviceInfo() {
        return deviceInfo;
    }

    public void setDeviceInfo(String deviceInfo) {
        this.deviceInfo = deviceInfo;
    }

    public String getRealIp() {
        return realIp;
    }

    public void setRealIp(String realIp) {
        this.realIp = realIp;
    }

    public String getBank_linked() {
        return bank_linked;
    }

    public void setBank_linked(String bank_linked) {
        this.bank_linked = bank_linked;
    }

    public String getNotify_url() {
        return notify_url;
    }

    public void setNotify_url(String notify_url) {
        this.notify_url = notify_url;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getReturn_url() {
        return return_url;
    }

    public void setReturn_url(String return_url) {
        this.return_url = return_url;
    }


    public String getIn_cust_id() {
        return in_cust_id;
    }

    public void setIn_cust_id(String in_cust_id) {
        this.in_cust_id = in_cust_id;
    }

    public String getIn_acct_id() {
        return in_acct_id;
    }

    public void setIn_acct_id(String in_acct_id) {
        this.in_acct_id = in_acct_id;
    }


    public String getBankno() {
        return bankno;
    }

    public void setBankno(String bankno) {
        this.bankno = bankno;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }
}
